/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import javax.imageio.ImageIO;
import java.awt.*;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;

/**
 * <p>Project: javase - ImgTest
 * <p>Powered by webrx On 2021-12-17 19:53:29
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class ImgTest {
    public static void main(String[] args) throws IOException {
        ImgUtils iu = new ImgUtils("c:/img.jpg");
        iu.text("版权所有，严禁转载", "fonts/zh164hfyh.ttf", 45, "white", 5, false);
        iu.logo("fonts/logo.png", 0, false);
    }
}
